//
//  GRMyAddressModel.m
//  YC_GRice
//
//  Created by luojinrong11 on 2018/7/16.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import "GRMyAddressModel.h"

@implementation GRMyAddressModel

@end
@implementation GRMyAddressEditorModel
-(CGFloat)addressCellHeight{
    CGFloat  height = 103;
    NSString *address = [NSString stringWithFormat:@"%@%@%@%@",self.province,self.city,self.area,self.addr];
    height += [address boundingRectWithSize:CGSizeMake(KscreenWidth-35, MAXFLOAT) options:(NSStringDrawingUsesFontLeading|NSStringDrawingUsesLineFragmentOrigin) attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:14]} context:nil ].size.height;
    return height;
}
-(NSString *)addressStr{
    
    return [NSString stringWithFormat:@"%@%@%@%@",self.province,self.city,self.area,self.addr];
}

@end


